package demo.controller;

import org.springframework.web.bind.annotation.*;


@RestController
@RequestMapping
public class PathVariableController {

	@GetMapping("/user/{username}")
	public @ResponseBody String target(@PathVariable String username) {
		// http://localhost:8001/user/finley
		return "Hello " + username;
	}

}